export default{
    namespaced:true,
    mutations:{
        jia(state, value) {
            state.sum += value
        },
        jian(state, value) {
            state.sum -= value
        },
        add_person(state, value){
            state.personList.unshift(value)
        }
    },
    state:{
        personList:[{
            id:"001",
            name:"大妍"
        }]
    }
}